<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>更新页面</title>
</head>
<body>

<form method="post" action="/blog/update/{{ book.id }}">
    {% csrf_token %}
    <label>
        书名：<input value="{{ book.title }}" name="title">
    </label><br>
    <label>
        价格：<input value=" {{ book.price }}" name="price">
    </label><br>
    <label>
        作者：<input value="{{ book.Author.name }}" name="name">
    </label><br>
        <button type="submit">提交修改</button>
        {{ error }}
</form>

</body>
</html>